<?

class log
{
   	static function logJS($msj) {
   		echo "<script language=\"javascript\" type=\"text/javascript\"> \n";
		echo "alert(\"LOG: ". $msj ."\"); \n";
		echo "</script>";
   	}	
   	
   	static function errorJS($msj) {
   		echo "<script language=\"javascript\" type=\"text/javascript\"> \n";
		echo "alert(\"ERROR: ". $msj ."\"); \n";
		echo "</script>";
   	}
   	
   	
}
?>